package com.ruoyi.system.domain;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 为你推荐配置对象 recommended
 * 
 * @author zhang
 * @date 2025-07-24
 */
public class Recommended extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 推荐商品编号 */
    private Long recommendedId;

    /** 推荐商品名 */
    @Excel(name = "推荐商品名")
    private String recommendedProductName;

    /** 推荐商品跳转连接 */
    @Excel(name = "推荐商品跳转连接")
    private String recommendedProductHref;

    /** 排序值 */
    @Excel(name = "排序值")
    private Long recommendedSort;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private Long recommendedProductId;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:s")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:s")
    private LocalDateTime recommendedAddtime;

    public void setRecommendedId(Long recommendedId) 
    {
        this.recommendedId = recommendedId;
    }

    public Long getRecommendedId() 
    {
        return recommendedId;
    }

    public void setRecommendedProductName(String recommendedProductName) 
    {
        this.recommendedProductName = recommendedProductName;
    }

    public String getRecommendedProductName() 
    {
        return recommendedProductName;
    }

    public void setRecommendedProductHref(String recommendedProductHref) 
    {
        this.recommendedProductHref = recommendedProductHref;
    }

    public String getRecommendedProductHref() 
    {
        return recommendedProductHref;
    }

    public void setRecommendedSort(Long recommendedSort) 
    {
        this.recommendedSort = recommendedSort;
    }

    public Long getRecommendedSort() 
    {
        return recommendedSort;
    }

    public void setRecommendedProductId(Long recommendedProductId) 
    {
        this.recommendedProductId = recommendedProductId;
    }

    public Long getRecommendedProductId() 
    {
        return recommendedProductId;
    }

    public void setRecommendedAddtime(LocalDateTime recommendedAddtime)
    {
        this.recommendedAddtime = recommendedAddtime;
    }

    public LocalDateTime getRecommendedAddtime()
    {
        return recommendedAddtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recommendedId", getRecommendedId())
            .append("recommendedProductName", getRecommendedProductName())
            .append("recommendedProductHref", getRecommendedProductHref())
            .append("recommendedSort", getRecommendedSort())
            .append("recommendedProductId", getRecommendedProductId())
            .append("recommendedAddtime", getRecommendedAddtime())
            .toString();
    }
}
